package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * MPLS-TP单站（网元）业务对象 busi_mplstp_element
 * 
 * @author net
 * @date 2025-02-25
 */
public class BusiMplstpElement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(value = "${comment}")
    private String mplstpId;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String elementId;

    /** 路径类型（1：工作 2：保护） */
    @Excel(name = "路径类型", readConverterExp = "1=：工作,2=：保护")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 网元类型：（1：源 2：宿 3： 过站） */
    @Excel(name = "网元类型：", readConverterExp = "1=：源,2=：宿,3=：,过=站")
    @ApiModelProperty(value = "网元类型：")
    private String elementType;

    /** 正向tunnelId */
    @Excel(name = "正向tunnelId")
    @ApiModelProperty(value = "正向tunnelId")
    private String positiveTunnelId;

    /** 反向tunnelId */
    @Excel(name = "反向tunnelId")
    @ApiModelProperty(value = "反向tunnelId")
    private String reverseTunnelId;

    /** 正向lspname */
    @Excel(name = "正向lspname")
    @ApiModelProperty(value = "正向lspname")
    private String positiveLspName;

    /** 反向lspname */
    @Excel(name = "反向lspname")
    @ApiModelProperty(value = "反向lspname")
    private String reverseLspName;

    /** lsrid */
    @Excel(name = "lsrid")
    @ApiModelProperty(value = "lsrid")
    private String lspId;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMplstpId(String mplstpId) 
    {
        this.mplstpId = mplstpId;
    }

    public String getMplstpId() 
    {
        return mplstpId;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setRouteType(String routeType) 
    {
        this.routeType = routeType;
    }

    public String getRouteType() 
    {
        return routeType;
    }
    public void setElementType(String elementType) 
    {
        this.elementType = elementType;
    }

    public String getElementType() 
    {
        return elementType;
    }
    public void setPositiveTunnelId(String positiveTunnelId) 
    {
        this.positiveTunnelId = positiveTunnelId;
    }

    public String getPositiveTunnelId() 
    {
        return positiveTunnelId;
    }
    public void setReverseTunnelId(String reverseTunnelId) 
    {
        this.reverseTunnelId = reverseTunnelId;
    }

    public String getReverseTunnelId() 
    {
        return reverseTunnelId;
    }
    public void setPositiveLspName(String positiveLspName) 
    {
        this.positiveLspName = positiveLspName;
    }

    public String getPositiveLspName() 
    {
        return positiveLspName;
    }
    public void setReverseLspName(String reverseLspName) 
    {
        this.reverseLspName = reverseLspName;
    }

    public String getReverseLspName() 
    {
        return reverseLspName;
    }
    public void setLspId(String lspId) 
    {
        this.lspId = lspId;
    }

    public String getLspId() 
    {
        return lspId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mplstpId", getMplstpId())
            .append("elementId", getElementId())
            .append("routeType", getRouteType())
            .append("elementType", getElementType())
            .append("positiveTunnelId", getPositiveTunnelId())
            .append("reverseTunnelId", getReverseTunnelId())
            .append("positiveLspName", getPositiveLspName())
            .append("reverseLspName", getReverseLspName())
            .append("lspId", getLspId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
